package Clases;

import java.util.ArrayList;

import crossingMethods.Reproductor;
import chromosomes.BinaryChromosome;
import exceptions.ExceptionWrongParameterClass;

public class cromosoma extends BinaryChromosome{

	ArrayList<ArrayList<Integer>> cromosoma = new ArrayList<>(); 
 
	
	public cromosoma(int chromosomeSize, int geneSize,
			Reproductor reproductorObject) throws ExceptionWrongParameterClass {
		super(chromosomeSize, geneSize, reproductorObject);
		// TODO Auto-generated constructor stub
		
	inicializarCrom();
	}
	
	
	public void inicializarCrom()
	{
		
		for(int i=0;i<8;i++)
		{
			ArrayList<Integer> gen = new ArrayList<Integer>();
			cromosoma.add(gen);
			
			for(int j=0;j<8;j++)
			{
				
				cromosoma.get(i).add(new Integer(0));
			}
		}
    }

		
	
}

